package com.zhiling.www.entity;

import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "stock_moneyrecord")
public class MoneyRecord {

  @Id
  @KeySql(useGeneratedKeys = true)
  private Integer recordId;//充值记录id
  private Integer recordUid;//所属用户id
  private Integer recordType;//记录类型，0 充值，1 提现
  private Double recordMoney;//金额
  private Date recordTime;//记录时间


  public MoneyRecord() {
  }

  public Integer getRecordId() {
    return recordId;
  }

  public void setRecordId(Integer recordId) {
    this.recordId = recordId;
  }

  public Integer getRecordUid() {
    return recordUid;
  }

  public void setRecordUid(Integer recordUid) {
    this.recordUid = recordUid;
  }

  public Integer getRecordType() {
    return recordType;
  }

  public void setRecordType(Integer recordType) {
    this.recordType = recordType;
  }

  public Double getRecordMoney() {
    return recordMoney;
  }

  public void setRecordMoney(Double recordMoney) {
    this.recordMoney = recordMoney;
  }

  public Date getRecordTime() {
    return recordTime;
  }

  public void setRecordTime(Date recordTime) {
    this.recordTime = recordTime;
  }

}
